package cn.lili.modules.order.order.entity.dto;

import cn.lili.modules.member.entity.dos.User;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author xiangqian
 * @version 1.0
 * @data 2024/1/8 10:33
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserFlowDTO extends User {

    @ApiModelProperty(value = "用户类型：店主/店员")
    private String role;

    @ApiModelProperty(value = "用户类型：2店主，1店员")
    private String roleType;

    @ApiModelProperty(value = "用户类型：直推用户/间推用户")
    private String lowerTypeName;

    @ApiModelProperty(value = "用户类型：1直推用户/2间推用户")
    private String lowerType;

    @ApiModelProperty(value = "直推/间推业绩")
    private String performance;

    @ApiModelProperty(value = "直推/间推收益")
    private String earnings;

    @ApiModelProperty(value = "下级")
    private List<UserFlowDTO> tree;
}
